﻿<%@ Page Language="C#" MasterPageFile="~/RIDHome.Master" AutoEventWireup="true" CodeBehind="Name.aspx.cs" Inherits="ResearchId.Validation.Name" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <p>
        First Name:
        <asp:TextBox ID="tbFirstName" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
            ControlToValidate="tbFirstName" ErrorMessage="*"></asp:RequiredFieldValidator>
&nbsp;&nbsp; Last Name:
        <asp:TextBox ID="tbLastName" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
            ControlToValidate="tbLastName" ErrorMessage="*"></asp:RequiredFieldValidator>
        <br />
        <br />
        <asp:Button ID="btnSave" runat="server" onclick="btnSave_Click" Text="Save" />
&nbsp;
        <asp:Button ID="btnBack" runat="server" CausesValidation="False" 
            onclick="btnBack_Click" Text="Back" />
    </p>
</asp:Content>
